package com.phs.main.vo;

import com.phs.main.web.po.SysRoles;
import com.phs.main.web.po.SysUsers;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Set;

@EqualsAndHashCode(callSuper = true)
@Data
public class UserRolePerm extends VO {
	private UserInfoVO users;
	private Set<SysRoles> roles;
	private Set<String> perms;

	public UserRolePerm(SysUsers users, Set<SysRoles> roles, Set<String> perms) {
		this.users = new UserInfoVO(users);
		this.roles = roles;
		this.perms = perms;
	}
}
